package vip.xiaomaoxiaoke.functiondemo.msg.repository;

import java.util.List;

/**
 * Created by taoli on 2022/10/16.
 * gitee : https://gitee.com/litao851025/lego
 * 编程就像玩 Lego
 */
public interface LocalMessageRepository {
    void save(LocalMessageTable message);

    void update(LocalMessageTable message);

    default List<LocalMessageTable> loadNotSuccessByUpdateGt(int size)  {
        return loadNotSuccessByUpdateGt(0,size);
    }
    List<LocalMessageTable> loadNotSuccessByUpdateGt(long id,int size);
}
